package org.dydl.model.system;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 字典类型 table:dict
 * 
 * @author Hibernate Tools 3.4.0.CR1
 * @version 1.0
 * @since 2016-1-25 15:03:05
 */
@Entity
@Table(name = "dict")
public class Dict implements Serializable {

	private static final long serialVersionUID = 3627016899674016896L;
	/**
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Integer id;
	/**
	 * 字典名称.
	 */
	private String dictName;
	/**
	 * 字典代码.
	 */
	private String dictCode;
	/**
	 * 字典描述.
	 */
	private String memo;

	public Dict() {
	}

	public Dict(String dictName, String dictCode) {
		this.dictName = dictName;
		this.dictCode = dictCode;
	}

	public Dict(String dictName, String dictCode, String memo) {
		this.dictName = dictName;
		this.dictCode = dictCode;
		this.memo = memo;
	}

	/**  
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * GET 字典名称.
	 * 
	 * @return 字典名称
	 */
	public String getDictName() {
		return this.dictName;
	}

	/**
	 * SET 字典名称.
	 * 
	 * @param dictName
	 *            字典名称
	 */
	public void setDictName(String dictName) {
		this.dictName = dictName;
	}

	/**
	 * GET 字典代码.
	 * 
	 * @return 字典代码
	 */
	public String getDictCode() {
		return this.dictCode;
	}

	/**
	 * SET 字典代码.
	 * 
	 * @param dictCode
	 *            字典代码
	 */
	public void setDictCode(String dictCode) {
		this.dictCode = dictCode;
	}

	/**
	 * GET 字典描述.
	 * 
	 * @return 字典描述
	 */
	public String getMemo() {
		return this.memo;
	}

	/**
	 * SET 字典描述.
	 * 
	 * @param memo
	 *            字典描述
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}

}
